<?php
defined('BASEPATH') OR exit('No direct script access allowed');
if(!function_exists('get_header')) {
	function get_header() {
		$CI = &get_instance();
		return $CI->load->view(THEME_NAME.'/header', $vars = array(), false);
	}
}

if(!function_exists('get_footer')) {
	function get_footer() {
		$CI = &get_instance();
		return $CI->load->view(THEME_NAME.'/footer', $vars = array(), false);
	}
}

if(!function_exists('get_sidebar')) {
	function get_sidebar() {
		$CI = &get_instance();
		return $CI->load->view(THEME_NAME.'/sidebar', $vars = array(), false);
	}
}

if(!function_exists('get_posts')) {
	function get_posts() {
		
	}
}